package es.decloud.service;

import java.util.List;

import es.decloud.model.Aula;

/**
 * Business Service Interface to handle communication between web and
 * persistence layer.
 * 
 * @author <a href="mailto:dtercero@gmail.com">David Tercero </a>
 */
public interface AulaManager extends GenericManager<Aula, Long> {

//	/**
//	 * {@inheritDoc}
//	 */
//	/* List getAulas(Aula aula); */

	/**
	 * 
	 * {@inheritDoc}
	 */
	List<Aula> getAulas(String idCentro);

	/**
	 * {@inheritDoc}
	 */
	Aula getAulaByNombre(Long idCentro, String nombre);

	/**
	 * Retrieves a aula by aulaId. An exception is thrown if aula not found
	 * 
	 * @param aulaId
	 *            the identifier for the aula
	 * @return Aula
	 */
	Aula getAula(String aulaId);

	/**
	 * {@inheritDoc}
	 */
	Aula saveAula(Aula aula);

	/**
	 * {@inheritDoc}
	 */
	void removeAula(Long idAula);
}
